package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Dish;

import java.util.List;

/**
 * @author kabuda
 * @create 2022-09-04 19:43
 */
public interface DishService extends IService<Dish> {
    public void saveWithDishDto(DishDto dishDto);
    public DishDto getDishById(Long id);
    public DishDto editDishByDishDto(DishDto dishDto);
    public void removeDish(List<Long> ids);
    //public void  statusChange(int status,Long ids);
    public void  statusChange(int status,List<Long> ids);
    public  List<DishDto> getDishByCategoryId(Long categoryId);
}
